package com.jf.identity.entity;

import com.alibaba.fastjson.annotation.JSONField;

import javax.naming.Name;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 违纪代码库
 *
 * @author FCG
 */
public class FoulCode implements Serializable {
    private static final long serialVersionUID = 1294217558903755689L;
    private String name;
    @JSONField(name = "FoulCodeId")
    private String foulCodeId;
    @JSONField(name = "FoulCodeDetails")
    private List<FoulCodeDetail> foulCodeDetails = new ArrayList<>();

    public String getFoulCodeId() {
        return foulCodeId;
    }

    public void setFoulCodeId(String foulCodeId) {
        this.foulCodeId = foulCodeId;
    }

    public List<FoulCodeDetail> getFoulCodeDetails() {
        return foulCodeDetails;
    }

    public void setFoulCodeDetails(List<FoulCodeDetail> foulCodeDetails) {
        this.foulCodeDetails = foulCodeDetails;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "FoulCode{" +
                "name='" + name + '\'' +
                ", foulCodeId='" + foulCodeId + '\'' +
                ", foulCodeDetails=" + foulCodeDetails +
                '}';
    }
}
